package com.wjp.villagemp.mapper.manage;

import com.wjp.villagemp.model.manage.StudentEntity;
import com.wjp.villagemp.utils.MyMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: Jacob
 * @Date: 2019/1/21 09:39
 * @Description:
 */
@Mapper
public interface StudentMapper extends MyMapper<StudentEntity> {
    List<StudentEntity> listStudent(@Param("pageSize") int pageSize, @Param("start") int start, @Param("studentName") String studentName);

    Integer countStudent(@Param("studentName") String studentName);

    Integer studentNumHasRep(@Param("studentNum") String studentNum);
}
